<?php if ($this->topic_list) { ?>
<?php foreach($this->topic_list as $key => $val) {?>	
	<li>
		<a href="topic/<?php echo $val['url_token']; ?>" class="add_user_f user_msg" data-message="&uid=<?php echo $val['topic_id']; ?>&card=topic"><img src="<?php echo get_topic_pic_url('mid', $val['topic_pic']); ?>" alt="<?php echo $val['topic_title']; ?>" title="<?php echo $val['topic_title']; ?>" /></a>
		<p> <a class="i_glotopic" href="topic/<?php echo $val['url_token']; ?>"><?php echo $val['topic_title']; ?></a></p>
		<p class="p_txt i_cl_02"><?php echo cjk_substr($val['topic_description'], 0, 200, 'UTF-8', '...'); ?></p>
		<p class="p_time"><?php if ($this->user_id) { ?><a class="i_green_bt2 i_right<?php if ($val['has_focus']) { ?> cur<?php }?>" href="javascript:" onclick="focus_topic($(this), $(this), <?php echo $val['topic_id']; ?>);"><?php if ($val['has_focus']) { ?>取消<?php } ?>关注</a><?php } ?>
		<?php echo $val['discuss_count']; ?> 个站点</p>
	</li>
<?php } ?>			
<?php } ?>